﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace gerecord
{
    public class MemoryEntity<TEntity> : IMemoryVersion
    {
        public bool Sync { get; set; }//是否保存过 每次更新数据要置为false
        public long MVersion { get; set; }//版本号

        public TEntity Entity { get; set; }//被保存的实体
    }
}
